This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
The code Carl Tyler linked to should work fine, or you could write something similar yourself.
I wrote an agent 5-6 years ago that did pretty much what you are asking for (detached and removed all attachments from a collection of documents), but I don't have it handy.
IIRC it was only like 20 lines of code or something, you should be able to write it yourself.
Look at the NotesEmbeddedObject class, there are plenty of sample code in the online help.
Feedback response number WEBBA6LL5B created by ~Dan Kikiterobu on 01/28/2016